package com.system.user.entityVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class WaterVO implements Serializable {

    private static final long serialVersionUID = -3280753092890350136L;
    /**
     * 水表物理位置
     */
    @ApiModelProperty(value = "水表物理位置")
    private String waterSite;
    /**
     * 水表编号
     */
    @ApiModelProperty(value = "水表编号", hidden = true)
    private String waterNumber;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    /**
     * 当天用量
     */
    @ApiModelProperty("当天用量")
    public Double use;

    public String getWaterSite() {
        return waterSite;
    }

    public void setWaterSite(String waterSite) {
        this.waterSite = waterSite;
    }

    public String getWaterNumber() {
        return waterNumber;
    }

    public void setWaterNumber(String waterNumber) {
        this.waterNumber = waterNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getUse() {
        return use;
    }

    public void setUse(Double use) {
        this.use = use;
    }
}
